export default {
	state: {
		searchHistory: [],
	},
	mutations: {
		SET_SEARCH_HISTORY: (state, data) => {
			const d = state.searchHistory
			d.push(data)
			state.searchHistory = d
		},
	},
	actions: {
		STORE_SEARCH_HISTORY: ({
			commit
		}, data) => {
			commit('SET_SEARCH_HISTORY', data)
		},
	}
}